#pragma once
#include "OCMain/Log.h"
#include "OCMain/FileUtil.h"
#include "OCMain/Date.h"
#include "OCServer/ServerUtil.h"
#include "OCMain/zip/BZip2.h"
#include "OCMain/ZipUtil.h"
#include "OCMain/Singleton.h"
#include "OCGrib/GribReader.h"

using namespace OCPP;

class MyGrib : public CSingleton<MyGrib>
{
public:
	String openGrib(String body);
	String getGribVar(String body, String timeIndex, String levelIndex);
	String listGribVar();
private:
	std::unique_ptr<GribReader> _gribReader;
};
